package dancetwotiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceActivitiesCumulativeSignInDayNum 签到天数
type DanceActivitiesCumulativeSignInDayNum struct {
	Id                     int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivitiesId           int64          `json:"activitiesId" gorm:"column:activities_id;type:bigint;default:0;not null;comment:活动id"`
	CumulativeSignInDayNum int64          `json:"cumulativeSignInDayNum" gorm:"column:cumulative_sign_in_day_num;type:bigint;default:0;not null;comment:累计签到天数"` // 累计签到天数
	CreatedId              int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`                              // 创建人id
	CreatedAt              time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt              time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt              gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
